package cn.anecansaitin.jep.parser.ast.node;

import cn.anecansaitin.jep.Token;
import cn.anecansaitin.jep.parser.ast.node.expression.Identifier;

public class Parameter extends Node {
    private final Token type;
    private final Identifier name;

    public Parameter(Token type, Identifier name, int line, int column) {
        super(line, column);
        this.type = type;
        this.name = name;
    }

    public Token type() {
        return type;
    }

    public Identifier name() {
        return name;
    }
}